load("@fbcode_macros//build_defs:thrift_library.bzl", "thrift_library")

oncall("source_control")

thrift_library(
    name = "sharding",
    languages = [
        "python",
        "rust",
        "py-deprecated",
    ],
    py3_namespace = "mononoke.sharding",
    py_base_module = "configerator.mononoke",
    thrift_py_options = "json",
    thrift_rust_options = "serde",
    thrift_srcs = {"sharding.thrift": None},
    deps = [
        "//thrift/annotation:rust",
    ],
)
